package com.aso114.project.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by asus on 2018/12/6.
 */

public class QuestionBaseBean implements Serializable {
    private String QuestionBaseId;
    private String PaperId;
    private String Quantity;
    private String Title;
    private String Description;
    private String RealPaperId;
    private String RealBaseId;
    private String questionList;
    private String QuestionId;
    private String CateId;
    private String BaseId;
    private String UserId;
    private String RealQuestionId;
    private String OrderNumber;
    private String RealPaperTitle;
    private String FormatContent;
    private ArrayList FormatImages;
    private String ExamPaperType;
    private String QuestionScore;
    private String ErrorScore;
    private String ErrorScoreType;
    private String DeductionScore;
    private String DifficultyFactor;
    private String ContextQuestionId;
    private String AnswerCount;
    private String AnswerErrorCount;
    private String QuestionTypeId;
    private String SpecialId;

    private ArrayList<questioncontentListBean> questioncontentList;
    private questionStatisticsInfo questionStatisticsInfo;
    private QuestionsAnswerInfo QuestionsAnswerInfo;
    public ArrayList<QuestionContextListBean> questionsContextList;// 主观题的材料


    private boolean isCollect; // 存储收藏状态
    private int rightAnswer;  //存储正确答案
    private int errorAnswer;  //存储错误答案


    private int questiontime;  //存储答题时间
    private boolean chooseResult;//存储最最终用户选择是否正确
    private boolean finishAnswer;//是否完成了答题
    //多选
    private List<Integer> rightList = new ArrayList<>();//存储正确的答案
    private List<Integer> resultList = new ArrayList<>();//存储用户答题的答案

    public ArrayList<QuestionContextListBean> getQuestionsContextList() {
        return questionsContextList;
    }

    public void setQuestionsContextList(ArrayList<QuestionContextListBean> questionsContextList) {
        this.questionsContextList = questionsContextList;
    }

    public int getQuestiontime() {
        return questiontime;
    }

    public void setQuestiontime(int questiontime) {
        this.questiontime = questiontime;
    }

    public boolean isCollect() {
        return isCollect;
    }

    public void setCollect(boolean collect) {
        isCollect = collect;
    }

    public int getRightAnswer() {
        return rightAnswer;
    }

    public void setRightAnswer(int rightAnswer) {
        this.rightAnswer = rightAnswer;
    }

    public int getErrorAnswer() {
        return errorAnswer;
    }

    public void setErrorAnswer(int errorAnswer) {
        this.errorAnswer = errorAnswer;
    }

    public boolean isChooseResult() {
        return chooseResult;
    }

    public void setChooseResult(boolean chooseResult) {
        this.chooseResult = chooseResult;
    }

    public boolean isFinishAnswer() {
        return finishAnswer;
    }

    public void setFinishAnswer(boolean finishAnswer) {
        this.finishAnswer = finishAnswer;
    }

    public List<Integer> getRightList() {
        return rightList;
    }

    public void setRightList(List<Integer> rightList) {
        this.rightList = rightList;
    }

    public List<Integer> getResultList() {
        return resultList;
    }

    public void setResultList(List<Integer> resultList) {
        this.resultList = resultList;
    }

    public String getQuestionBaseId() {
        return QuestionBaseId;
    }

    public void setQuestionBaseId(String questionBaseId) {
        QuestionBaseId = questionBaseId;
    }

    public String getPaperId() {
        return PaperId;
    }

    public void setPaperId(String paperId) {
        PaperId = paperId;
    }

    public String getQuantity() {
        return Quantity;
    }

    public void setQuantity(String quantity) {
        Quantity = quantity;
    }

    public String getTitle() {
        return Title;
    }

    public void setTitle(String title) {
        Title = title;
    }

    public String getDescription() {
        return Description;
    }

    public void setDescription(String description) {
        Description = description;
    }

    public String getRealPaperId() {
        return RealPaperId;
    }

    public void setRealPaperId(String realPaperId) {
        RealPaperId = realPaperId;
    }

    public String getRealBaseId() {
        return RealBaseId;
    }

    public void setRealBaseId(String realBaseId) {
        RealBaseId = realBaseId;
    }

    public String getQuestionList() {
        return questionList;
    }

    public void setQuestionList(String questionList) {
        this.questionList = questionList;
    }

    public String getQuestionId() {
        return QuestionId;
    }

    public void setQuestionId(String questionId) {
        QuestionId = questionId;
    }

    public String getCateId() {
        return CateId;
    }

    public void setCateId(String cateId) {
        CateId = cateId;
    }

    public String getBaseId() {
        return BaseId;
    }

    public void setBaseId(String baseId) {
        BaseId = baseId;
    }

    public String getUserId() {
        return UserId;
    }

    public void setUserId(String userId) {
        UserId = userId;
    }

    public String getRealQuestionId() {
        return RealQuestionId;
    }

    public void setRealQuestionId(String realQuestionId) {
        RealQuestionId = realQuestionId;
    }

    public String getOrderNumber() {
        return OrderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        OrderNumber = orderNumber;
    }

    public String getRealPaperTitle() {
        return RealPaperTitle;
    }

    public void setRealPaperTitle(String realPaperTitle) {
        RealPaperTitle = realPaperTitle;
    }

    public String getFormatContent() {
        return FormatContent;
    }

    public void setFormatContent(String formatContent) {
        FormatContent = formatContent;
    }

    public ArrayList getFormatImages() {
        return FormatImages;
    }

    public void setFormatImages(ArrayList formatImages) {
        FormatImages = formatImages;
    }

    public String getExamPaperType() {
        return ExamPaperType;
    }

    public void setExamPaperType(String examPaperType) {
        ExamPaperType = examPaperType;
    }

    public String getQuestionScore() {
        return QuestionScore;
    }

    public void setQuestionScore(String questionScore) {
        QuestionScore = questionScore;
    }

    public String getErrorScore() {
        return ErrorScore;
    }

    public void setErrorScore(String errorScore) {
        ErrorScore = errorScore;
    }

    public String getErrorScoreType() {
        return ErrorScoreType;
    }

    public void setErrorScoreType(String errorScoreType) {
        ErrorScoreType = errorScoreType;
    }

    public String getDeductionScore() {
        return DeductionScore;
    }

    public void setDeductionScore(String deductionScore) {
        DeductionScore = deductionScore;
    }

    public String getDifficultyFactor() {
        return DifficultyFactor;
    }

    public void setDifficultyFactor(String difficultyFactor) {
        DifficultyFactor = difficultyFactor;
    }

    public String getContextQuestionId() {
        return ContextQuestionId;
    }

    public void setContextQuestionId(String contextQuestionId) {
        ContextQuestionId = contextQuestionId;
    }

    public String getAnswerCount() {
        return AnswerCount;
    }

    public void setAnswerCount(String answerCount) {
        AnswerCount = answerCount;
    }

    public String getAnswerErrorCount() {
        return AnswerErrorCount;
    }

    public void setAnswerErrorCount(String answerErrorCount) {
        AnswerErrorCount = answerErrorCount;
    }

    public String getQuestionTypeId() {
        return QuestionTypeId;
    }

    public void setQuestionTypeId(String questionTypeId) {
        QuestionTypeId = questionTypeId;
    }
    public String getSpecialId() {
        return SpecialId;
    }

    public void setSpecialId(String specialId) {
        SpecialId = specialId;
    }
    public ArrayList<questioncontentListBean> getQuestioncontentList() {
        return questioncontentList;
    }

    public void setQuestioncontentList(ArrayList<questioncontentListBean> questioncontentList) {
        this.questioncontentList = questioncontentList;
    }

    public questionStatisticsInfo getQuestionStatisticsInfo() {
        return questionStatisticsInfo;
    }

    public void setQuestionStatisticsInfo(questionStatisticsInfo questionStatisticsInfo) {
        this.questionStatisticsInfo = questionStatisticsInfo;
    }

    public QuestionsAnswerInfo getQuestionsAnswerInfo() {
        return QuestionsAnswerInfo;
    }

    public void setQuestionsAnswerInfo(QuestionsAnswerInfo questionsAnswerInfo) {
        QuestionsAnswerInfo = questionsAnswerInfo;
    }



    private userAnswerInfo userAnswerInfo;


    public static class userAnswerInfo implements Serializable{
        private String AnswerDuration;

        private String IsState;

        private String PaperId;

        private String RealQuestionId;

        private String QuestionNumber;

        private String QuestionScore;

        private String CateId;

        private ArrayList UserAnswer;

        private String UserAnswerId;


        public String getPaperId() {
            return PaperId;
        }

        public void setPaperId(String paperId) {
            PaperId = paperId;
        }

        public String getRealQuestionId() {
            return RealQuestionId;
        }

        public void setRealQuestionId(String realQuestionId) {
            RealQuestionId = realQuestionId;
        }

        public String getQuestionNumber() {
            return QuestionNumber;
        }

        public void setQuestionNumber(String questionNumber) {
            QuestionNumber = questionNumber;
        }

        public String getQuestionScore() {
            return QuestionScore;
        }

        public void setQuestionScore(String questionScore) {
            QuestionScore = questionScore;
        }

        public String getCateId() {
            return CateId;
        }

        public void setCateId(String cateId) {
            CateId = cateId;
        }

        public ArrayList getUserAnswer() {
            return UserAnswer;
        }

        public void setUserAnswer(ArrayList userAnswer) {
            UserAnswer = userAnswer;
        }

        public String getUserAnswerId() {
            return UserAnswerId;
        }

        public void setUserAnswerId(String userAnswerId) {
            UserAnswerId = userAnswerId;
        }

        public String getAnswerDuration() {
            return AnswerDuration;
        }

        public void setAnswerDuration(String answerDuration) {
            AnswerDuration = answerDuration;
        }

        public String getIsState() {
            return IsState;
        }

        public void setIsState(String isState) {
            IsState = isState;
        }



    }


    public userAnswerInfo getUserAnswerInfo() {
        return userAnswerInfo;
    }

    public void setUserAnswerInfo(userAnswerInfo userAnswerInfo) {
        this.userAnswerInfo = userAnswerInfo;
    }



    public static class questionStatisticsInfo implements Serializable{
        private String QuestionStatisticId;
        private String QuestionId;
        private String RightRatio;
        private String RightCount;
        private String WrongRatio;
        private String WrongCount;

        public String getQuestionStatisticId() {
            return QuestionStatisticId;
        }

        public void setQuestionStatisticId(String questionStatisticId) {
            QuestionStatisticId = questionStatisticId;
        }

        public String getQuestionId() {
            return QuestionId;
        }

        public void setQuestionId(String questionId) {
            QuestionId = questionId;
        }

        public String getRightRatio() {
            return RightRatio;
        }

        public void setRightRatio(String rightRatio) {
            RightRatio = rightRatio;
        }

        public String getRightCount() {
            return RightCount;
        }

        public void setRightCount(String rightCount) {
            RightCount = rightCount;
        }

        public String getWrongRatio() {
            return WrongRatio;
        }

        public void setWrongRatio(String wrongRatio) {
            WrongRatio = wrongRatio;
        }

        public String getWrongCount() {
            return WrongCount;
        }

        public void setWrongCount(String wrongCount) {
            WrongCount = wrongCount;
        }
    }
    public static class QuestionsAnswerInfo implements Serializable{
        private String QuestionId;
        private String FormatContent;
        private ArrayList FormatImages;
        private ArrayList AnswerArray;

        public String getQuestionId() {
            return QuestionId;
        }

        public void setQuestionId(String questionId) {
            QuestionId = questionId;
        }

        public String getFormatContent() {
            return FormatContent;
        }

        public void setFormatContent(String formatContent) {
            FormatContent = formatContent;
        }

        public ArrayList getFormatImages() {
            return FormatImages;
        }

        public void setFormatImages(ArrayList formatImages) {
            FormatImages = formatImages;
        }

        public ArrayList getAnswerArray() {
            return AnswerArray;
        }

        public void setAnswerArray(ArrayList answerArray) {
            AnswerArray = answerArray;
        }
    }

}
